package br.net.woodstock.tickettoride.spring.web;

import java.io.File;

import br.net.woodstock.rockframework.web.struts2.util.UploadableAction;

public abstract class UploadAction extends AbstractApplicationAction implements UploadableAction {

	private static final long	serialVersionUID	= 1L;

	private File				upload;

	private String				uploadContentType;

	private String				uploadFileName;

	@Override
	public File getUpload() {
		return this.upload;
	}

	public void setUpload(final File upload) {
		this.upload = upload;
	}

	@Override
	public String getUploadContentType() {
		return this.uploadContentType;
	}

	public void setUploadContentType(final String uploadContentType) {
		this.uploadContentType = uploadContentType;
	}

	@Override
	public String getUploadFileName() {
		return this.uploadFileName;
	}

	public void setUploadFileName(final String uploadFileName) {
		this.uploadFileName = uploadFileName;
	}

}
